package com.xiaoxin.project.system.domain;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 订单对象 tb_order
 * 
 * @author ZhangXX
 */
@TableName(value = "sys_order_item")
public class SysOrderItem {
    private static final long serialVersionUID = 1L;

    /** 商品id */
    @TableField(value = "item_id")
    private Long itemId;

    /** 订单编号 */
    @TableField(value = "order_id")
    private Long orderId;

    /** 商品名称 */
    @TableField(value = "item_name")
    private String itemName;

    /** 单价 */
    @TableField(value = "price")
    private String price;

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "SysOrderItem{" +
                "itemId=" + itemId +
                ", orderId=" + orderId +
                ", itemName='" + itemName + '\'' +
                ", price='" + price + '\'' +
                '}';
    }
}
